home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 3
/
Info_Mac_1994-01.iso
/
Text Processing
/
Emacs 3.1.0
/
emacs.rc
< prev
next >
Wrap
Text File
|
1992-03-16
|
1KB
|
52 lines
; Earle's emacs.rc file.
; Default MicroEmacs startup file for use with the Macintosh.
; Thu Nov 30 1989
;
; Everybody seems to want to use hard tabs of 4 on the Mac.
;
4 set $hardtab
; Set up auto CMODE for C language source and header files,
; also resource definition files.
20 store-macro
set %rctmp &sin $cfname "."
!if &equ %rctmp 0
!return
!endif
set %rctmp &mid $cfname &add %rctmp 1 5
!if &or &seq %rctmp "c" &seq %rctmp "h"
add-mode "cmode"
!endif
!if &seq %rctmp "r"
add-mode "cmode"
!endif
!if &seq %rctmp "mss"
add-mode "wrap"
!endif
!endm
set $readhook execute-macro-20
; For vt100 fanatics.
bind-to-key set-mark ^@
; Vi does something like this. This is control-6, but would also
; be command-up on the Macintosh.
bind-to-key next-buffer ^^
; The Macintosh can do smooth scroll without much performance hit.
; Set to zero if you don't care for it.
set $sscroll 1
; This example shows how to set the default window size. Uncomment
; and adjust numeric parameters to taste.
;
; Set the window size to 100 by 20 characters.
; set $xpos 100
; set $ypos 20
; mouse-resize-screen
;